@import "compass/css3";
$white: #fff;
$bgColor: #34ACFF;
$borderColor: #C2C2C4;
$display: inline-block;
$redTxt: #B40606;
$ball: #F56C6C;

.qr-code{
  background: $white;
  position: relative;
  padding: 25px 20px 25px;
  margin-top: 41px;
  .add-to-cart{
    position: absolute;
    top: 25px;
    right: 20px;
    background: $bgColor;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    @include border-radius(50%);
    .iconfont{
      font-size: 20px;
      color: $white;
    }
  }
  .cont-area{
    width: 60%;
    margin: 0 auto;
    .code-bg{
      background: $bgColor;
      padding: 15px;
      @include box-shadow(#DDDDDD 0 0 6px);
    }
    .info{
      margin: 20px 0 10px;
      .info-txt{
        font-size: 16px;
      }
      .outer-display{
        display: $display;
        margin-left: 27px;
        .count-area{
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          line-height: 19px;
          .add,.minus{
            flex: 0 0 20px;
            border: 1px solid $borderColor;
            height: 20px;
          }
          .code-num{
            flex: 0 0 35px;
            height: 20px;
            border-top: 1px solid $borderColor;
            border-bottom: 1px solid $borderColor;
            position: relative;
          }
        }
      }
    }
    .tips{
      font-size: 14px;
      color: #AAAAAA;
      text-align: center;
    }
  }
}

.pay{
  position: fixed;
  bottom: 0;
  width: 100%;
  background: $white;
  .pay-way{
    border-bottom: 1px solid #ACACAC;
    .wechat,.remain{
      position: relative;
      padding: 10px 25px;
      border-bottom: 1px solid #F1F1F1;
      .iconfont{
        color: #00C800;
        font-size: 20px;
      }
      .txt{
        font-size: 18px;
        margin-left: 5px;
      }
      .circle-btn{
        position: absolute;
        right: 25px;
        top: 10px;
        display: $display;
        width: 20px;
        height: 20px;
        border: 1px solid #CDD0D3;
        @include border-radius(50%);
      }
    }
    .remain{
      border: none;
      .iconfont{
        color: #FF7B59;
      }
    }
  }
  .go-pay{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    .pay-money{
      flex: 1;
      padding: 12px 0;
      font-size: 21px;
      .red-txt{
        color: $redTxt;
      }
    }
    .btn-pay{
      flex: 1;
      padding: 12px 0;
      font-size: 21px;
      background: rgb(43, 51, 59);
      color: rgb(128, 133, 138);
    }
  }
}
#remaining{
  position: fixed;
  width: 100%;
  bottom: 0;
}
.active-bg{
  background: #FF6A48;
}
#modal{
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: rgba(7,17,27,.8);
  display: none;
}